package com.bootdo.output.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.output.dao.OutStorageDetailDao;
import com.bootdo.output.domain.OutStorageDetailDO;
import com.bootdo.output.service.OutStorageDetailService;



@Service
public class OutStorageDetailServiceImpl implements OutStorageDetailService {
	@Autowired
	private OutStorageDetailDao outStorageDetailDao;
	
	@Override
	public OutStorageDetailDO get(Long datilId){
		return outStorageDetailDao.get(datilId);
	}
	
	@Override
	public List<OutStorageDetailDO> list(Map<String, Object> map){
		return outStorageDetailDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return outStorageDetailDao.count(map);
	}
	
	@Override
	public int save(OutStorageDetailDO outStorageDetail){
		return outStorageDetailDao.save(outStorageDetail);
	}
	
	@Override
	public int update(OutStorageDetailDO outStorageDetail){
		return outStorageDetailDao.update(outStorageDetail);
	}
	
	@Override
	public int remove(Long datilId){
		return outStorageDetailDao.remove(datilId);
	}
	
	@Override
	public int batchRemove(Long[] datilIds){
		return outStorageDetailDao.batchRemove(datilIds);
	}

	@Override
	public int batchInserts(List<OutStorageDetailDO> outStorageDetails) {
		// TODO Auto-generated method stub
		return outStorageDetailDao.batchInserts(outStorageDetails);
	}
	
}
